FROM openjdk:8
ADD target/tinyurl-service-1.0-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java","-Xms256m", "-Xmx256m","-Djava.security.egd=file:/dev/./urandom","-jar","-Duser.timezone=GMT+8","/app.jar","--spring.profiles.active=dev"]